//
//  DeliveryAddressCell.h
//  bestkeep
//
//  Created by bj on 2016/11/4.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BK_my_ShippingAddress.h"

@class BK_my_ShippingAddressCell;

@protocol clickButtonDelegate <NSObject>

- (void)clickDelegateAddress:(BK_my_ShippingAddress *)address;
- (void)clickEditAddressButton:(UIButton *)click addressModel:(BK_my_ShippingAddress *)address :(BK_my_ShippingAddressCell *)cell;
- (void)clickSetAddressCell:(BK_my_ShippingAddressCell *)cell selectedButton:(UIButton *)selectedButton;

@end

@interface BK_my_ShippingAddressCell : UITableViewCell

@property (nonatomic) BOOL isDefault;

@property (nonatomic, strong) BK_my_ShippingAddress *datas;
@property (nonatomic, strong) UILabel *nameLabel;
@property (nonatomic, strong) UILabel *addressLabel;//收货地址
@property (nonatomic, strong) UILabel *telephoneLabel;
@property (nonatomic, strong) UILabel *set_DefaultAddressLabel;
@property (nonatomic, strong) UIImageView *bgImageView;
@property (nonatomic, strong) UIButton *editButton;
@property (nonatomic, strong) UIButton *deleteButton;
@property (nonatomic, strong) UIButton *set_DefaultAddressButton;
@property (nonatomic, strong) UIView *deleteAndDefaultButtonView;
@property (nonatomic, strong) CALayer *lineView;
@property (nonatomic, weak)   id <clickButtonDelegate> addressButtonDelegate;

- (void)updateCellInformation:(BK_my_ShippingAddress *)address;

@end
